package com.hfzy.ihk.common.web.constants;

/**
 * 用于全局变量的存放
 * @author wws
 */
public class WebConstant {

    /**
     * 默认验证码参数名称
     */
    public static final String VALIDATE_CODE = "validateCode";

    public static final String USER_NAME="username";

    public static final String PASS_WORD="password";

    public static final String LOGIN_PARAM="loginParam";

    public static final String SESSION_USER="sessionUser";

    //-------------------环境----------------------
    public static String SYSTEM_ENV_PRO = "pro";
    public static String SYSTEM_ENV_DEV = "dev";
    public static String SYSTEM_ENV_LOCAL = "local";
    public static String SYSTEM_ENV_NONE = "none";


    public static String TRUE = "true";
    public static String FALSE = "false";

    public static String LOCK = "锁定";
    public static String ACTIVE = "活动";

    public static String UN_DEFINED = "undefined";

    public static String SUCCESS = "success";
    public static String FAIL = "fail";

    public static String SUCCESS_CHAR = "成功";
    public static String FAIL_CHAR = "失败";
    public static String EXCEPTION_CHAR = "异常";

    public static String CODE_N = "-1";
    public static String CODE_0 = "0";
    public static String CODE_1 = "1";
    public static String CODE_2 = "2";
    public static String CODE_3 = "3";

}
